import sys
import logging
from logging.handlers import RotatingFileHandler
logging.basicConfig(filename='output_and_error_log.log', level=logging.DEBUG,
                    format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')

